<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:text="${hello}"></div>
<div th:utext="${hello}"></div>
<br>
[[${hello}]] <br>
session域中的值<br>
<div th:text="${session.h}"></div>
<br>
循环
<table>
    <tr th:each="item,status:${list}">
        <th th:text="${item}"></th>
        <th th:text="${status.index}"></th>
        <th th:text="${status.even}"></th><!--偶数-->
    </tr>
</table>
</body>
</html>